﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebBanThuoc.DAO;
using WebBanThuoc.DTO;
using WebBanThuoc.Server;

namespace WebBanThuoc
{
    public partial class LienHe : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            getData();

        }
        void getData()
        {
            IServerWeb sw = new ServerWeb();
            NoiDungHienThi_DAO daoND = new NoiDungHienThi_DAO(sw.Connection);
            NoiDungHienThi nd = daoND.getByKey("ThongTinLienHe");
             Session.Add("nd", nd);
              sw.closeConnection();
         }
       }
    }
